import cn.tecnova.test.Fin_insur_claims_injury
import com.alibaba.fastjson.JSON

import scala.util.parsing.json.JSONObject

/**
  * description:
  * Rabcheng
  * Date:2019/5/31 9:43
  **/
object J2cFastJson {

  def main(args: Array[String]): Unit = {

    val fin_insur_claims_injury = JSON.parseObject("{\n\"id\": \"0f96533bf4b34efcb5c32e7082731025\",\n\"incId\": 22,\n\"finClaimsId\": \"3a7559af50d84434b9e92fc21a056153\",\n\"woundedName\": \"郝晓薇\",\n\"woundedTel\": \"18365756375\",\n\"woundedIdCard\": \"43020319821020149X\",\n\"injurySketch\": 0,\n\"policyType\": 2,\n\"state\": 0,\n\"reimburseAmount\": 0\n}", classOf[Fin_insur_claims_injury])

    println(fin_insur_claims_injury)


    val string = JSON.toJSON(fin_insur_claims_injury)
    println(string)


  }

}
